package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤信息对象 work_attendance
 * 
 * @author 503i
 * @date 2021-05-04
 */
public class WorkAttendance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long workAttendceId;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Long workerId;

    /** 上班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date arrivalTime;

    /** 下班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveTime;

    /** 请假记录 */
    private Long leaveId;

    /** 考勤积分 */
    @Excel(name = "考勤积分")
    private Long attendancePoint;

    public void setWorkAttendceId(Long workAttendceId) 
    {
        this.workAttendceId = workAttendceId;
    }

    public Long getWorkAttendceId() 
    {
        return workAttendceId;
    }
    public void setWorkerId(Long workerId) 
    {
        this.workerId = workerId;
    }

    public Long getWorkerId() 
    {
        return workerId;
    }
    public void setArrivalTime(Date arrivalTime) 
    {
        this.arrivalTime = arrivalTime;
    }

    public Date getArrivalTime() 
    {
        return arrivalTime;
    }
    public void setLeaveTime(Date leaveTime) 
    {
        this.leaveTime = leaveTime;
    }

    public Date getLeaveTime() 
    {
        return leaveTime;
    }
    public void setLeaveId(Long leaveId) 
    {
        this.leaveId = leaveId;
    }

    public Long getLeaveId() 
    {
        return leaveId;
    }
    public void setAttendancePoint(Long attendancePoint) 
    {
        this.attendancePoint = attendancePoint;
    }

    public Long getAttendancePoint() 
    {
        return attendancePoint;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workAttendceId", getWorkAttendceId())
            .append("workerId", getWorkerId())
            .append("arrivalTime", getArrivalTime())
            .append("leaveTime", getLeaveTime())
            .append("leaveId", getLeaveId())
            .append("attendancePoint", getAttendancePoint())
            .toString();
    }
}
